package kr.hkit.powerjava.chapter07.submit;

public class BankAccountTest {
	
		public static void main(String[] args) {
			BankAccount b = new BankAccount ();
			b.setBalance(100);
			b.withdraw(60);
			System.out.println("잔고는 " + b.getBalance()+ "입니다. ");
			
			b.addInterest();
			System.out.println("잔고는 " + b.getBalance()+ "입니다. ");
		}

}

